<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form id="frm" action="/jspstudy/Login2" method="post">
		用户名：<input type="text" id="userName" name="userName"/><br>
		密码<input type="text" id="password" name="userName"><br>
			
			<input type="radio" name="sex" value="man">男
			<input type="radio" name="sex" value="women">女
			<br>
			<input type="checkbox" name="book" value="java入门">java
			<input type="checkbox" name="book" value="c++熟练">c++
			<input type="checkbox" name="book" value="sql精通">sql
			<br>
			<select name="city">
				<option value="sh">上海</option>
				<option value="wh">武汉</option>
				<option value="lhk">老河口</option>
			</select>
			<br>
			<input type="submit" value="登录">
			<input type="button" value="登录2" onclick="document.getElementById('frm').submit">
	</form> 
</body>
</html>